package routers

import (
	"api/internal/handler"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	r.POST("/send/sms", handler.SendSms)

	r.POST("/register", handler.Register)

	r.POST("/login", handler.Login)

	r.POST("/upload", handler.Upload)

	r.POST("/video/add", handler.VideoAdd)

	r.POST("/video/review", handler.VideoReview)

	r.GET("/video/list", handler.VideoList)

	r.GET("/video/detail", handler.VideoDetail)

	r.GET("/episode/list", handler.EpisodeList)

	r.GET("/get/playlog", handler.GetPlayLogs)

}
